package ui.custom.message;

import javax.swing.JOptionPane;

/**
 * Message with system errors (e.g. database connection) after user input
 * @author Marius
 *
 */
public class ErrorDialog {
	
	public static String DEFAULT_MESSAGE = "Fehlermeldung";

	public static void show(String message, Exception e1) {
		JOptionPane.showMessageDialog(null, e1.getMessage(), message, JOptionPane.ERROR_MESSAGE);
	}

}
